Recompile asm-offsets.h when header files are changed. Currently it's not
recompiled even when important strutures changes after "hg pull" and thus
make interface mismatch between xen and xenlinux. I've encountered several
times after boring debug to find the reason.
Signed-off-by: Kevin Tian <kevin.tian@intel.com>
$(NM) -n $(TARGET)-syms | grep -v '\( [aUw] \)\|\(__crc_\)\|\( \$[adt]\)'\
> $(BASEDIR)/System.map
-
-asm-offsets.s: asm-offsets.c $(BASEDIR)/include/asm-ia64/.offsets.h.stamp $(BASEDIR)/include/asm-ia64/asm-xsi-offsets.h
+asm-offsets.s: asm-offsets.c $(BASEDIR)/include/asm-ia64/.offsets.h.stamp $(BASEDIR)/include/asm-ia64/asm-xsi-offsets.h $(HDRS)
$(CC) $(CFLAGS) -S -o $@ $<
asm-xsi-offsets.s: asm-xsi-offsets.c